<?php
/*
 * Created on Dec 28, 2011
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
 class Invite extends AppModel {
 	var $name = 'Invite';
 	
 	var $belongsTo = array(
 		'Host' =>
 			array(
 				'className' => 'Host',
 				'foreignKey' => 'host_id'
 			),
 		'Event' =>
 			array(
 				'className' => 'Event',
 				'foreignKey' => 'event_id'
 			)
 	);
 	
 	var $hasMany = array(
 		'User' => 
 			array(
 				'className' => 'User',
 				'foreignKey' => 'user_id'
 		)
 	);
 	
 }
?>
